﻿@model yq.WebModel.ListPage<yq.WebModel.Sys.Team> 
<div  class="listdivSmOut">
    @foreach (var info in Model.PageList)
    {
        <div class="listdivSm">
            <div class="longtxt">@info.Title</div>
            <div class="op">
                @Html.ActionRoleLink(Model.RoleLinkList["查看"], new { teamId = info.TeamId }, new { @class = "a-role", onclick = "return $.DialogAjax(this)", alt = "查看" })
                <span class="divider">|</span>
                @Html.ActionRoleLink(Model.RoleLinkList["编辑"], new { teamId = info.TeamId }, new { @class = "a-role" })
                <span class="divider">|</span>
                @Html.ActionRoleLink(Model.RoleLinkList["成员"], new { teamId = info.TeamId }, new { @class = "a-role" })
            </div>
        </div>
    }
    @if (Model.PageList.Count == 0)
    { 
    
        <div class="listdivSm">
            <div class="longtxt">
                当前还没有团队</div>
            <div class="op">
                @Html.ActionRoleLink(Model.RoleLinkList["添加团队"], new { }, new { @class = "a-role" })</div>
        </div>
    }
</div>

